home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / GRAPHICS / VGATUT2.ZIP / VGAFUNC.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  746 b   |  25 lines

  1. //////////////////////////////////////////////
  2. // VGA Function Declarations - Barny Mercer //
  3. //                        //
  4. // Created : 1/8/95 @ 6:45pm            //
  5. //////////////////////////////////////////////
  6.  
  7. #define VID_320x200 0x0013
  8. #define VID_TEXT    0x0003
  9.  
  10. #ifndef PI
  11.     #define PI 3.141592654
  12. #endif
  13.  
  14. void PutPixel( int X, int Y, unsigned char Colour );
  15. void FloatDrawLine( int X1, int Y1, int X2, int Y2, unsigned char Colour );
  16. void BresDrawLine( int X1, int Y1, int X2, int Y2, unsigned char Colour );
  17. void VidMode( int Mode );
  18. void Cls( unsigned char Colour );
  19.  
  20. void DrawCircle( int X, int Y, int Radius, unsigned char Colour );
  21. void ImpDrawCircle( int X, int Y, int Radius, unsigned char Colour );
  22.  
  23.  
  24. int Round(float Value);
  25.